<extend name="index/index" />
<block name="breadcrumb-01">
    <li>
        <i class="icon-home home-icon"></i>
        <a href="#">首页</a>
    </li>
    <li class="active">添加店铺</li>
</block>

<block name="breadcrumb-02">
    <h1>
        添加店铺
    </h1>
</block>
<block name="main">

    <div class="row">
        <div class="col-md-12">
            <form action="<{:U('index/insert')}>" method='post' class="form-horizontal">

                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">店铺名称：</label>
                    <div class="col-sm-5">
                        <input type="text" name="shopname" class="form-control" >
                    </div>
                </div>
                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">所属行业：</label>
                    <div class="col-sm-5">
                        <input type="text" name="title" class="form-control" >
                    </div>
                </div>
                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">选择区域：</label>
                    <div class="col-sm-5">
                        <div class="form-inline">
                            <div data-toggle="distpicker" style="position:relative;">
                                <div class="form-group " style="margin-left: -1px;">
                                    <label class="sr-only" for="province1">Province</label>
                                    <select class="form-control" id="province1" name="province"></select>
                                </div>
                                <div class="form-group" style="position:absolute;left:192px;">
                                    <label class="sr-only" for="city1">City</label>
                                    <select class="form-control" id="city1" name="city"></select>
                                </div>
                                <div class="form-group" style="position:absolute;left:343px;">
                                    <label class="sr-only" for="district1">District</label>
                                    <select class="form-control" id="district1" name="district"></select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div> 
                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">详细地址：</label>
                    <div class="col-sm-5">
                        <input type="text" name="address" class="form-control" >
                    </div>
                </div>
                <div class="form-group" style="position:relative;">
                    <label for="" class="col-sm-2 control-label">店铺经度：</label>
                    <div class="col-sm-5">
                        <input type="text" name="lat" class="form-control" >
                    </div>
                    <label for="" class="col-sm-2" style="position:absolute;left:642px;top:4px;">(<a href="http://lbs.qq.com/tool/getpoint/" target="_blank">点此获取经纬度</a>)</label>
                </div>
                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">店铺纬度：</label>
                    <div class="col-sm-5">
                        <input type="text" name="long" class="form-control" >
                    </div>
                </div>
                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">店铺电话：</label>
                    <div class="col-sm-5">
                        <input type="text" name="tel" class="form-control" >
                    </div>
                </div>
                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">上班时间：</label>
                    <div class="col-sm-5">
                        <input type="text" name="worktime_start" class="form-control" >
                    </div>
                </div>
                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">下班时间：</label>
                    <div class="col-sm-5">
                        <input type="text" name="worktime_end" class="form-control" >
                    </div>
                </div>
                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">店铺商标：</label>
                    <div class="col-sm-5">
                        <input type="text" name="logo" class="form-control" >
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-5">
                      <button type="submit" class="btn btn-default">添 加</button>
                    </div>
                </div>
        
            </form>
        </div>
    </div>
</block>